<script>
	import {
		getSafeArea
	} from '@/utils/util.js'
	export default {
		onLaunch() {
			const systemInfo = uni.getSystemInfoSync();
			const safeArea = getSafeArea(); // 使用上面的工具函数

			// 设置全局变量
			uni.$safeArea = safeArea;
			uni.$statusBarHeight = safeArea.statusBarHeight;
			uni.$navBarHeight = safeArea.navBarHeight;
		},
		onShow: function() {
			// console.log('App Show')
		},
		onHide: function() {
			// console.log('App Hide')
		}
	}
</script>
<style lang="scss">
	@import "@/uni_modules/uview-plus/index.scss";
	@import '/static/iconfont/iconfont.css';
	@import '/static/iconfont/color/iconfont.css';
	@import url('style/public.scss');
</style>